From: Jasper St. Pierre Date: Thu, 21 Feb 2013 16:51:12 +0000 (-0500) Subject: Revert "messageTray: Fix warning when opening the tray" X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4664 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=28a71a29e6b29752cac8fedce4daf2b213f8339b;p=gnome-shell.git Revert "messageTray: Fix warning when opening the tray" This reverts commit 7b06d34ba43ce7355d586e801066b839ef55c1c9. https://bugzilla.gnome.org/show_bug.cgi?id=694336 --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 2deb9fe60..308b223e8 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1754,13 +1754,12 @@ const MessageTray = new Lang.Class({ }, _setupTrayDwellIfNeeded: function() { - this._trayDwellTimeoutId = 0; - // If we don't have extended barrier features, then we need // to support the old tray dwelling mechanism. if (!global.display.supports_extended_barriers()) { let pointerWatcher = PointerWatcher.getPointerWatcher(); pointerWatcher.addWatch(TRAY_DWELL_CHECK_INTERVAL, Lang.bind(this, this._checkTrayDwell)); + this._trayDwellTimeoutId = 0; this._trayDwelling = false; this._trayDwellUserTime = 0; }